import request from '@/utils/request'

/** 获取规则 */
export function getCashRuleApi(params) {
  return request({
    url: '/operation/accountfde/find',
    method: 'get',
    params
  })
}

/**
 * 修改规则
 * @param id
 * @param rule
 */
export function postEditCashRuleApi(data) {
  return request({
    url: '/operation/accountfde/save',
    method: 'post',
    data
  })
}
